import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import VueRouter from 'vue-router'
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index'
import "./mock/index.js"
import { createPersistedState } from 'pinia-persistedstate-plugin';
import { createPinia } from 'pinia';

import { Button, Select,Dialog,Form,Message } from 'element-ui';


Vue.use(Button)
Vue.use(Select)
Vue.use(Dialog)
Vue.use(Form)
Vue.use(Message)

Vue.use(VueRouter)
Vue.config.productionTip = false
Vue.use(ElementUI);
const pinia = createPinia()
Vue.use(pinia)
const persist = createPersistedState()
pinia.use(persist)
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
